<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
<title><?php echo ($title); ?>吉林出入境检验检疫局</title>
<link href="/Home/css/style.css?<?php echo rand();?>" rel="stylesheet" type="text/css" />
<script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
<script src="/Home/js/layer/layer.js"></script>
<script src="/Home/js/main.js"></script>

<!--弹出框-->
<script>
    function hh()
    {
        layer.open({
            type: 2,
            title: '管理员登录',
            shadeClose: true,
            shade: 0.8,
            area: ['390px', '340px'],
            content: '/admin.php' //iframe的url
        });
    }
</script>
<!--//弹出框-->

    <style>
        .status{
            display: inline !important;
        }
        .status-0{
            color: #f8ac59 !important;
        }
        .status-1{
            color: #1ab394 !important;
        }
        .status-2{
            color: #a71d1d !important;
        }
    </style>
</head>
<body>
<!-- 头部 -->
<!--<div class="top">-->
    <!--<div class="top_nr">-->
        <!--<div class="l">让更多学生享受优质的教育资源，为更多家庭提供超值的教育服务！</div>-->
        <!--<div class="r">-->
			<!--<?php if(UID > 0): ?>-->
				<!--<a  class="white" style="margin-right:10px;" href="/admin.php" target="_blank"><i><img src="/Home/images/home.png"></i> 管理后台</a>-->
			<!--<?php else: ?>-->
				<!--<a  class="white" style="margin-right:10px;" href="javascript:;" onclick="hh()"><i><img src="/Home/images/home.png"></i> 管理员登录</a>-->
			<!--<?php endif; ?>-->
            <!--<a href="#"class="white"><i><img src="/Home/images/coll.png"></i> 收藏本站</a>-->
        <!--</div>-->
    <!--</div>-->
<!--</div>-->


    <div class="header1_bg">
        <div class="header1">
            <div class="logo1"><a href="http://<?php echo C('DOMAIN');?>"><img src="/Home/images/logo_03.png"></a></div>
            <div class="search1">
                <form id="searchform" action="<?php echo U('Item/index');?>" method="get">
                    <div class="search_l1" >
                        <div class="form-group">
                            <!--<select class="form-contro3" name="did">-->
                                <!--<?php if(is_array($districts)): $i = 0; $__LIST__ = $districts;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$district): $mod = ($i % 2 );++$i;?>-->
                                    <!--<option value="<?php echo ($district["id"]); ?>" <?php if($district['id'] == I('get.did')): ?>selected="selected"<?php endif; ?>><?php echo ($district["title"]); ?></option>-->
                                <!--<?php endforeach; endif; else: echo "" ;endif; ?>-->
                                <!--&lt;!&ndash;<option value=""  <?php if(0 == I('get.did',0)): ?>selected="selected"<?php endif; ?>>全部地区</option>&ndash;&gt;-->
                            <!--</select>-->
                        </div>
                        <div class="form-group">
                            <input type="text" style="width: auto;" name="key" class="form-control1" id="searchkey" placeholder="请输入..." value="<?php echo I('get.key','');?>">
                        </div>
                    </div>
                    <div class="search_r1"><a href="#"></a></div>
                </form>
            </div>
        </div>
    </div>


<!-- /头部 -->

<!-- 主体 -->


    
    <div class="sub_con">
        <div class="sub_l">
            <div class="title2">
                <!--<div class="black"><a href="/">首页</a>><a href="<?php echo U('Item/index');?>">政策信息</a></div>-->
                <h3>文档信息</h3>
            </div>
            <div class="fl">
                <ul>
                    <li><a href="<?php echo U('Item/index');?>" class="<?php if(I('get.did',0) == 0): ?>active<?php endif; ?>">全部</a></li>
                    <?php if(is_array($districts)): $i = 0; $__LIST__ = $districts;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$info): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Item/index',array('did'=>$info['id']));?>"
                               class="<?php if($info['id'] == I('get.did')): ?>active<?php endif; ?>">
                            <?php echo ($info["title"]); ?> (<?php echo ($info["item_num"]); ?>)
                            </a>
                        </li><?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="pxnr">
                <ul>
                    <?php if(is_array($items)): $i = 0; $__LIST__ = $items;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$info): $mod = ($i % 2 );++$i;?><li>
                            <!-- <div class="img"><a href="#"><img src="images/yzm.png"></a></div> -->
                            <div class="wz1">
                                <h3><a href="<?php echo U('Item/detail',array('id'=>$info['id']));?>"> <?php echo (search($info["title"],I('get.key'))); ?></a></h3>
                                <?php if(I('get.did',0)): else: ?><span>所属章节：<?php echo ($info["district"]); ?></span><?php endif; ?>
                                <!--<span>地址：<?php echo ($info["address"]); ?></span>-->
                                <!--<span>电话：<?php echo ($info["phone"]); ?></span>-->
                                
                                <?php if(empty($info['check_records'])): ?><!--<span>无年审记录</span>-->
                                <?php else: ?>
                                    <?php if(is_array($info["check_records"])): $i = 0; $__LIST__ = $info["check_records"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$record): $mod = ($i % 2 );++$i;?><span><?php echo ($record["text"]); ?></span><?php endforeach; endif; else: echo "" ;endif; endif; ?>
                            </div>
                        </li><?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
                <div class="sub_fenye">
                    <?php echo ($page); ?>
                </div>
        </div>
        <!--<div class="sub_r" >-->
            <!--<div class="title1">-->
                <!--<div class="more1"><a href="<?php echo U('Item/index');?>">+ MORE</a></div>-->
                <!--<div class="title1_l">推荐培训班</div>-->
            <!--</div>-->
            <!--<div class="new_nr">-->
                <!--<ul>-->
                    <!--<?php $__POSLIST__ = D('Item')->position(2,6,true)->getLists(); if(is_array($__POSLIST__)): $i = 0; $__LIST__ = $__POSLIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$info): $mod = ($i % 2 );++$i;?>-->
                        <!--<li><span><?php echo ($info["district"]); ?></span><a href="<?php echo U('Item/detail',array('id'=>$info['id']));?>"><?php echo ($info["title"]); ?></a></li>-->
                    <!--<?php endforeach; endif; else: echo "" ;endif; ?>-->
                <!--</ul>-->
            <!--</div>-->
        <!--</div>-->
    </div>

<!-- /主体 -->

<!-- 底部 -->
<!--<div class="footer">-->
    <!--Coryright © 延边州教育局 <?php echo C('WEB_SITE_ICP');?><br><span style="color:#999;">技术支持：<a  style="color:#999;" href="http://www.huiyouzan.com" target="_blank" title="汇友科技">汇友科技</a> 网站运维电话：<?php echo C('PHONE');?></span> </br>-->
    <!---->
<!--</div>-->

<!-- /底部 -->
</body>
</html>